import request from '@/axios';
import { baseUrl } from '@/config/env';

// 活动中心-活动新增
export const activityClassificationAdd = (data) => request({
    url: baseUrl + '/merchantCenter/activityClassification/inserted',
    method: 'post',
    data
})
// 活动中心-活动修改
export const activityClassificationUpdate = (data) => request({
    url: baseUrl + '/merchantCenter/activityClassification/update',
    method: 'post',
    data
})
// 活动中心-活动列表
export const activityClassificationList = (data) => request({
    url: baseUrl + '/merchantCenter/activityClassification/list',
    method: 'post',
    data
})
// 活动中心-活动删除
export const activityClassificationDelete = (id) => request({
    url: baseUrl + `/merchantCenter/activityClassification/delete/${id}`,
    method: 'get'
});
